﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Warhammer40K_Simulator.model
{
    class vehicle : figure
    {

        public override figure clone()
        {
            vehicle v = new vehicle();
            v.copy(this);
            return v;
        }

        public override void copy(figure f)
        {

            vehicle v = f as vehicle;
            if (v != null)
            {
                base.copy(f);
                BalisticSkill = v.BalisticSkill;
                FrontArmour = v.FrontArmour;
                SideArmour = v.SideArmour;
                RearArmour = v.RearArmour;
            }

        }

        public int BalisticSkill{ get; set; }
        public int FrontArmour{ get; set; }
        public int SideArmour{ get; set; }
        public int RearArmour{ get; set; }
    }
}
